package org.zhigong.entity;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * Created by Administrator on 2018/5/8 0008.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Role extends BaseEntity  {

    private Long id;
    private String name;

    private List<Menu> menuList;

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public List<Menu> getMenuList() {
        return menuList;
    }
    public void setMenuList(List<Menu> menuList) {
        this.menuList = menuList;
    }
}